# coding:utf-8
"""
H5页面测试用例配置
"""
__author__ = 'jiaoshupeng'
from ..parameters.ia_configure import account_live
uid = account_live[2]

#定义模块


#接口定义
view = 'http://sj.blued.cn/?v=4.0' #淡蓝视野
office = 'https://m.blued.cn/' #官方网站
weal = 'https://app.blued.cn/weal#!/order_check' #淡蓝公益
biaoqing = 'https://app.blued.cn/biaoqing' #标签商城
my_biaoqing = 'https://app.blued.cn/biaoqing/data/useremotion/%s'%uid #我的表情
security = 'https://m.blued.cn/security.html' #安全提示
userterm ='https://app.blued.cn/term/userterm' #用户条款
conductterm = 'https://app.blued.cn/term/conductterm' #平台使用规范
liveterm = 'https://app.blued.cn/term/liveterm' #直播行为规范
customerservices = 'https://app.blued.cn/customerservices' #联系方式
live_hot = '/live/onair?page=1' #直播热门
live_new = '/live/onair?page=1&type=new' #直播最新
live_follow = '/live/viewers/%s/stars?page=1'%uid #直播关注
liverank = 'https://app.blued.cn/liverank' #排行榜
richanchor_day = 'https://app.blued.cn/liverank#richanchor-day' #主播财富榜日榜
richanchor_week = 'https://app.blued.cn/liverank#richanchor-week' #主播财富榜周榜
richanchor_total = 'https://app.blued.cn/liverank#richanchor-total' #主播财富榜总榜
richfans_day = 'https://app.blued.cn/liverank#richfans-day' #用户土豪榜日榜
richfans_week = 'https://app.blued.cn/liverank#richfans-week' #用户土豪榜周榜榜
richfans_total = 'https://app.blued.cn/liverank#richfans-total' #用户土豪榜总榜



h_view = [view,'淡蓝视野','设置-更多-淡蓝视野页']
h_office = [office,'官网','官方网站']
h_weal = [weal,'淡蓝公益','设置-更多-淡蓝公益']
h_biaoqing = [biaoqing,'表情商城','设置-表情商城']
h_my_biaoqing = [my_biaoqing,'表情商城','设置-我的表情']
h_security = [security,'安全提示','设置-安全提示']
h_userterm = [userterm,'用户行为规范','更多-帮助中心-用户行为规范']
h_conductterm = [conductterm,'平台使用规范','更多-帮助中心-平台使用规范']
h_liveterm = [liveterm,'直播行为规范','更多-帮助中心-直播行为规范']
h_customerservices = [customerservices,'联系方式','更多-帮助中心-联系方式']
h_liverank = [liverank,'排行榜','排行榜']
h_richanchor_day = [richanchor_day,'主播财富榜日榜','主播财富榜日榜']
h_richanchor_week = [richanchor_week,'主播财富榜周榜','主播财富榜周榜']
h_richanchor_total = [richanchor_total,'主播财富榜总榜','主播财富榜总榜']
h_richfans_day = [richfans_day,'用户土豪榜日榜','用户土豪榜日榜']
h_richfans_week = [richfans_week,'用户土豪榜周榜榜','用户土豪榜周榜榜']
h_richfans_total = [richfans_total,'用户土豪榜总榜','用户土豪榜总榜']

h_live_hot = [live_hot,'直播热门列表','直播热门列表']
h_live_new = [live_new,'直播最新列表','直播最新列表']
h_live_follow = [live_follow,'直播关注列表','直播关注列表']

#将接口添加到数组中
h_interface = [
    # h_office,
    h_view,h_weal,h_biaoqing,h_my_biaoqing,h_security,
    h_userterm,h_conductterm,h_liverank,
    h_richanchor_day,h_richanchor_week,h_richanchor_total,
    h_richfans_day,h_richfans_week,h_richfans_total
]

#校验数据
h5_code = [
    ['self','',{'code':'200'}],
]
